package com.itboy.mall.pms.spuimages.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.itboy.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * spu图片视图对象 mall_spu_images
 *
 * @author itboy
 * @date 2021-08-08
 */
@Data
@ApiModel("spu图片视图对象")
public class MallSpuImagesVo {

	private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
	@ApiModelProperty("id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

    /**
     * spu_id
     */
	@Excel(name = "spu_id")
	@ApiModelProperty("spu_id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long spuId;

    /**
     * 图片名
     */
	@Excel(name = "图片名")
	@ApiModelProperty("图片名")
	private String imgName;

    /**
     * 图片地址
     */
	@Excel(name = "图片地址")
	@ApiModelProperty("图片地址")
	private String imgUrl;

    /**
     * 顺序
     */
	@Excel(name = "顺序")
	@ApiModelProperty("顺序")
	private Long imgSort;

    /**
     * 是否默认图
     */
	@Excel(name = "是否默认图")
	@ApiModelProperty("是否默认图")
	private Integer defaultImg;


}
